package com.ynet.middleground.riskmanage.dto;

import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author liulx
 * @description 发票基础信息
 * @date 2020-08-03 16:38
 */
@Data
@ApiModel(value = "发票基础信息", description = "发票基础信息")
public class ZbjInvoiceBaseDTO implements Serializable {

    private static final long serialVersionUID = 8666640643175965553L;

    /**
     * 主键标识
     */
    @ApiModelProperty(value = "主键标识", notes = "主键标识")
    private Integer id;

    /**
     * 请求记录 id
     */
    @ApiModelProperty(value = "请求记录 id", notes = "请求记录 id")
    private Integer reqId;

    /**
     * 发票代码
     */
    @ApiModelProperty(value = "发票代码", notes = "发票代码")
    private String fpdm;

    /**
     * 发票类型
     */
    @ApiModelProperty(value = "发票类型", notes = "发票类型")
    private String fplx;

    /**
     * 发票号码
     */
    @ApiModelProperty(value = "发票号码", notes = "发票号码")
    private String fphm;

    /**
     * 开票日期
     */
    @ApiModelProperty(value = "开票日期", notes = "开票日期")
    private String kprq;

    /**
     * 销售方名称
     */
    @ApiModelProperty(value = "销售方名称", notes = "销售方名称")
    private String xfMc;

    /**
     * 销售方纳税人识别号
     */
    @ApiModelProperty(value = "销售方纳税人识别号", notes = "销售方纳税人识别号")
    private String xfNsrsbh;

    /**
     * 销售方联系方式
     */
    @ApiModelProperty(value = "销售方联系方式", notes = "销售方联系方式")
    private String xfContact;

    /**
     * 销售方开户行
     */
    @ApiModelProperty(value = "销售方开户行", notes = "销售方开户行")
    private String xfBank;

    /**
     * 购方名称
     */
    @ApiModelProperty(value = "购方名称", notes = "购方名称")
    private String gfMc;

    /**
     * 购方纳税人识别号
     */
    @ApiModelProperty(value = "购方纳税人识别号", notes = "购方纳税人识别号")
    private String gfNsrsbh;

    /**
     * 购方联系方式
     */
    @ApiModelProperty(value = "购方联系方式", notes = "购方联系方式")
    private String gfContact;

    /**
     * 购方开户行
     */
    @ApiModelProperty(value = "购方开户行", notes = "购方开户行")
    private String gfBank;

    /**
     * 发票校验码
     */
    @ApiModelProperty(value = "发票校验码", notes = "发票校验码")
    private String code;

    /**
     * 发票机器码
     */
    @ApiModelProperty(value = "发票机器码", notes = "发票机器码")
    private String num;

    /**
     * 是否作废(String 0 未作废|2 已作废|3 红冲发票)
     */
    @ApiModelProperty(value = "是否作废(String 0 未作废|2 已作废|3 红冲发票)", notes = "是否作废(String 0 未作废|2 已作废|3 红冲发票)")
    private String del;

    /**
     * 是否成品油发票(Boolean true|false)
     */
    @ApiModelProperty(value = "是否成品油发票(Boolean true|false)", notes = "是否成品油发票(Boolean true|false)")
    private Boolean isOil;

    /**
     * 税额合计
     */
    @ApiModelProperty(value = "税额合计", notes = "税额合计")
    private String taxamount;

    /**
     * 价格合计
     */
    @ApiModelProperty(value = "价格合计", notes = "价格合计")
    private String goodsamount;

    /**
     * 价税合计
     */
    @ApiModelProperty(value = "价税合计", notes = "价税合计")
    private String sumamount;

    /**
     * 数量合计
     */
    @ApiModelProperty(value = "数量合计", notes = "数量合计")
    private String quantityAmount;

    /**
     * 更新时间
     */
    @ApiModelProperty(value = "更新时间", notes = "更新时间")
    private String updateTime;

    /**
     * 税局查验次数
     */
    @ApiModelProperty(value = "税局查验次数", notes = "税局查验次数")
    private String queryCount;

    /**
     * 备注
     */
    @ApiModelProperty(value = "备注", notes = "备注")
    private String remark;

    /**
     * 是否含销货清单票(String Y|N)
     */
    @ApiModelProperty(value = "是否含销货清单票(String Y|N)", notes = "是否含销货清单票(String Y|N)")
    private String isGoodsList;

    /**
     * 名称-商品统计信息
     */
    @ApiModelProperty(value = "名称-商品统计信息", notes = "名称-商品统计信息")
    private String name;

    /**
     * 规格-商品统计信息
     */
    @ApiModelProperty(value = "规格-商品统计信息", notes = "规格-商品统计信息")
    private String spec;

    /**
     * 单位-商品统计信息
     */
    @ApiModelProperty(value = "单位-商品统计信息", notes = "单位-商品统计信息")
    private String unit;

    /**
     * 数量-商品统计信息
     */
    @ApiModelProperty(value = "数量-商品统计信息", notes = "数量-商品统计信息")
    private String amount;

    /**
     * 单价-商品统计信息
     */
    @ApiModelProperty(value = "单价-商品统计信息", notes = "单价-商品统计信息")
    private String priceUnit;

    /**
     * 金额-商品统计信息
     */
    @ApiModelProperty(value = "金额-商品统计信息", notes = "金额-商品统计信息")
    private String priceSum;

    /**
     * 税率-商品统计信息
     */
    @ApiModelProperty(value = "税率-商品统计信息", notes = "税率-商品统计信息")
    private String taxRate;

    /**
     * 税额-商品统计信息
     */
    @ApiModelProperty(value = "税额-商品统计信息", notes = "税额-商品统计信息")
    private String taxSum;

}
